package gov.pbc.nn.kjgl.fxq.infoResearch.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * @author pbccz
 *
 */
@Entity
@Table(name = "T_FXQ_INFO_RESEARCH_ENTTIY")
public class InfoResearchEntity extends BaseEntity{
	
	private static final long serialVersionUID = -324848560751234290L;
	
	@Column(name = "IR_ID_", length = 60)
	@PropertyDef(label = "信息调研ID")
	private String irId;
	
	@Column(name = "IR_TYPE_")
	@PropertyDef(label = "信息调研类别", description = "0:信息；10:调研")
	private int irType;
	
	@Column(name = "IR_NAME_", length = 100)
	@PropertyDef(label = "信息调研名称")
	private String irName;
	
	@Column(name = "IR_CODE_", length = 40)
	@PropertyDef(label = "信息调研编号")
	private String irCode;
	
	@Column(name = "IR_ORGANS_", length = 100)
	@PropertyDef(label = "参与机构")
	private String irOrgans;
	
	@Column(name = "IR_CENTRAL_REPORTED_")
	@PropertyDef(label = "是否上报总行", description = "0:否；10:是；")
	private int irCentralReported;
	
	@Column(name = "IR_CENTRAL_ADOPT_")
	@PropertyDef(label = "是否总行采用", description = "0:否；10:是；")
	private int irCentralAdopt;
	
	@Column(name = "IR_OTHER_ADOPT_")
	@PropertyDef(label = "是否其他渠道采用", description = "0:否；10:是；")
	private int irOtherAdopt;
	
	@Column(name = "IR_REPORT_DATE_")
	@PropertyDef(label = "信息调研报送日期")
	private Date irReportDate;
	
	@Column(name = "DEPT_ID_", length = 60)
	private String deptId;
	
	@Column(name = "DEPT_NAME_", length = 200)
	@PropertyDef(label = "所属部门")
	private String deptName;
	
	@Column(name = "STATE_")
	@PropertyDef(label = "状态", description = "0:新增；10:暂存；20：提交；")
	private int state;
	
	@Column(name = "SUBMIT_DATE_")
	@PropertyDef(label = "提交时间")
	private Date submitDate;
	
	@Column(name = "REMARK_", length = 1000)
	@PropertyDef(label = "简要描述")
	private String remark;

	public String getIrId() {
		return irId;
	}

	public void setIrId(String irId) {
		this.irId = irId;
	}

	public int getIrType() {
		return irType;
	}

	public void setIrType(int irType) {
		this.irType = irType;
	}
	
	public String getIrName() {
		return irName;
	}

	public void setIrName(String irName) {
		this.irName = irName;
	}

	public String getIrCode() {
		return irCode;
	}

	public void setIrCode(String irCode) {
		this.irCode = irCode;
	}

	public String getIrOrgans() {
		return irOrgans;
	}

	public void setIrOrgans(String irOrgans) {
		this.irOrgans = irOrgans;
	}

	public int getIrCentralReported() {
		return irCentralReported;
	}

	public void setIrCentralReported(int irCentralReported) {
		this.irCentralReported = irCentralReported;
	}

	public int getIrCentralAdopt() {
		return irCentralAdopt;
	}

	public void setIrCentralAdopt(int irCentralAdopt) {
		this.irCentralAdopt = irCentralAdopt;
	}

	public int getIrOtherAdopt() {
		return irOtherAdopt;
	}

	public void setIrOtherAdopt(int irOtherAdopt) {
		this.irOtherAdopt = irOtherAdopt;
	}

	public Date getIrReportDate() {
		return irReportDate;
	}

	public void setIrReportDate(Date irReportDate) {
		this.irReportDate = irReportDate;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getSubmitDate() {
		return submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
	
}
